﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coomtools.weightclasses
{
    //****************说明*************************************
    //*** 电子称类型类用于保存 每个IP地址对应的电子称的传输协议
    //
    //
    //*********************************************************



    /// <summary>
    /// 电子称类型类用于保存 每个IP地址对应的电子称的传输协议
    /// </summary>
    [Serializable]
    public class EweightModel
    {
        public EweightModel()
        {
            Useagreement = "";
            TheWeightModel = "普通";
            Port = "3001";
            IPAdress = "192.168.1.87";
            Isuse = false;
            IsTranfHotKey = false;  

        }

/// <summary>
/// 使用的协议
/// </summary>
        public string Useagreement { get; set; }
        /// <summary>
        /// 型号 备用
        /// </summary>
        public string TheWeightModel { get; set; }
      /// <summary>
      /// 端口
      /// </summary>
        public String Port { get; set; }
      /// <summary>
      /// IP地址
      /// </summary>
        public string  IPAdress { get; set; }
       /// <summary>
       /// 是否启用
       /// </summary>
        public bool Isuse { get; set; }
       
       public bool IsTranfHotKey { get; set; }
    }
}
